home *** CD-ROM | disk | FTP | other *** search
- Path: connix.com!news
- From: Scott Hawley <shawley@connix.com>
- Newsgroups: comp.lang.c
- Subject: Re: getchar() problems!
- Date: 16 Jan 1996 18:01:04 GMT
- Organization: SHAWLEY SYSTEMS
- Message-ID: <4dgp50$6bg@comet.connix.com>
- References: <DL2wFD.8BK@cdf.toronto.edu>
- NNTP-Posting-Host: shawley.connix.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
-
- That is exactly how getchar is suppose to work. getchar will not actually
- start working until a <ENTER> key is pressed.
- If you are on a unix system you probally won't be able to get a single
- character at a time with the compilier you have unless you use curses.
- If you are on a PC, look up and see if they and a getch command, both
- MS and Borland do have this command. They will get a character. If
- you want to display the character as it is being typed look at
- getche.
-
- hope this helps.
-
-